package com.wanxi.springboot.team_manage_system_front;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.event.EventListener;

import java.io.IOException;

@SpringBootApplication
public class TeamManageSystemFrontApplication {
//    @EventListener({ApplicationReadyEvent.class})
//    public void applicationReadyEvent() {
//        System.out.println("应用已经准备就绪 ... 启动浏览器");
//        String url = "http://localhost:8089/login.html";
//        try {
//            Runtime.getRuntime().exec("cmd   /c   start  "+url);
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
//    }
    public static void main(String[] args) {
        SpringApplication.run(TeamManageSystemFrontApplication.class, args);
    }

}
